package com.itheima;

/**
 * @auther Macrydy
 * @date 2020/7/7 8:54
 */
public class MyThreadTest {
    public static void main(String[] args) {
        MyThread myThread1 = new MyThread();
        MyThread myThread2 = new MyThread();

//        myThread1.run();
//        myThread2.run();

        //开启此线程，此线程会调用本线程的run()方法
        myThread1.start();
        myThread2.start();
    }
}
